<div class="panel {% if data.operation == 'add' %}panel-primary{% elif data.operation == 'change' %}panel-success{% else %}panel-info{% endif %}">
    <div class="panel-heading">
        {% if data.type == "permission" %}权限{% else %}菜单{% endif %}{% if data.operation == 'add' %}添加{% elif data.operation == 'change' %}修改{% else %}删除{% endif %}成功
    </div>
    <div class="panel-body">
        <p>{% if data.type == "permission" %}权限{% else %}菜单{% endif %}{% if data.operation == 'add' %}添加{% elif data.operation == 'change' %}属性修改{% else %}删除{% endif %}成功，请返回页面查看</p>
    </div>
</div>